Dynamicweb 8 Documentation
DeleteOptionsByDefinitionIDs(IEnumerable<Int32>,Boolean) Method

A collection of filter definition IDs.
Indicates whether to clear cache after all options have been deleted.
Deletes all options that belong to any of the given filter definitions.
Syntax
'Declaration
 
Public Overloads Shared Sub DeleteOptionsByDefinitionIDs( _ 
   ByVal ids As IEnumerable(Of Integer), _ 
   ByVal clearCache As Boolean _ 
) 
public static void DeleteOptionsByDefinitionIDs( 
   IEnumerable<int> ids,
   bool clearCache 
)

Parameters

ids
A collection of filter definition IDs.
clearCache
Indicates whether to clear cache after all options have been deleted.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionids is null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GroupFilterOption Class
GroupFilterOption Members
Overload List

Send Feedback